Class: Pod::X::Source

Inherits:
Object
  • Object
show all
Includes:
DSLBuilder, DSL
Defined in:
lib/cocoapods-x/extension/environment/dsl.rb,
lib/cocoapods-x/extension/environment/source.rb,
lib/cocoapods-x/extension/environment/definition.rb

Defined Under Namespace

Modules: DSL Classes: Definition

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from DSLBuilder

#build

Methods included from DSL

#pod, #source

Constructor Details

#initializeSource

Returns a new instance of Source.



14
15
16
# File 'lib/cocoapods-x/extension/environment/source.rb', line 14

def initialize
    @parent = Pod::X::Source::Definition::new('', nil)
end

Instance Attribute Details

#current_domain_definitionObject (readonly)

Returns the value of attribute current_domain_definition.



12
13
14
# File 'lib/cocoapods-x/extension/environment/source.rb', line 12

def current_domain_definition
  @current_domain_definition
end

#parentObject (readonly)

Returns the value of attribute parent.



11
12
13
# File 'lib/cocoapods-x/extension/environment/source.rb', line 11

def parent
  @parent
end

Instance Method Details

#listObject



18
19
20
# File 'lib/cocoapods-x/extension/environment/source.rb', line 18

def list 
    @parent::list
end