Class: RedSnow::Sourcemap::Metadata
- Defined in:
- lib/redsnow/sourcemap.rb
Overview
Metadata source map collection node
Instance Attribute Summary collapse
-
#collection ⇒ Object
Returns the value of attribute collection.
Instance Method Summary collapse
-
#initialize(sc_sm_metadata_collection_handle) ⇒ Metadata
constructor
A new instance of Metadata.
Constructor Details
#initialize(sc_sm_metadata_collection_handle) ⇒ Metadata
46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/redsnow/sourcemap.rb', line 46 def initialize() = RedSnow::Binding.() if > 0 = - 1 @collection = Array.new for index in 0.. do = RedSnow::Binding.(, index) @collection << SourceMap.new(RedSnow::Binding.()) end end end |
Instance Attribute Details
#collection ⇒ Object
Returns the value of attribute collection.
43 44 45 |
# File 'lib/redsnow/sourcemap.rb', line 43 def collection @collection end |