Class: SC::Buildfile::Config

Inherits:
HashStruct show all
Defined in:
lib/sproutcore/buildfile/buildfile_dsl.rb

Overview

This class allows us to memoize common computations

Instance Method Summary collapse

Methods inherited from HashStruct

#deep_clone, #has_options?, #initialize, #merge, #merge!, #method_missing, #print_first_caller, #to_hash

Constructor Details

This class inherits a constructor from SC::HashStruct

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class SC::HashStruct

Instance Method Details

#target_namesObject



14
15
16
# File 'lib/sproutcore/buildfile/buildfile_dsl.rb', line 14

def target_names
  @target_names ||= self[:target_types].keys
end