class Pod::Hooks::PodRepresentation


Stores the information of the Installer for the hooks

def initialize(name, file_accessors)

Parameters:
  • installer (Installer) -- @see installer
def initialize(name, file_accessors)
  @name = name
  @file_accessors = file_accessors
end

def root

Returns:
  • (Pathname) -
def root
  file_accessors.first.path_list.root
end

def root_spec

Returns:
  • (Specification) -
def root_spec
  file_accessors.first.spec.root
end

def source_files

Returns:
  • (Array) -
def source_files
  file_accessors.map(&:source_files).flatten.uniq
end

def specs

Returns:
  • (Array) -
def specs
  file_accessors.map(&:spec).uniq
end

def to_s

def to_s
  root_spec.to_s
end

def version

Returns:
  • (Version) -
def version
  root_spec.version
end