Class: Swarker::Readers::DefinitionsReader
- Inherits:
-
Object
- Object
- Swarker::Readers::DefinitionsReader
- Defined in:
- lib/swarker/readers/definitions_reader.rb
Instance Attribute Summary collapse
-
#definitions ⇒ Object
readonly
Returns the value of attribute definitions.
Instance Method Summary collapse
-
#initialize(dir) ⇒ DefinitionsReader
constructor
A new instance of DefinitionsReader.
Constructor Details
#initialize(dir) ⇒ DefinitionsReader
Returns a new instance of DefinitionsReader.
8 9 10 |
# File 'lib/swarker/readers/definitions_reader.rb', line 8 def initialize(dir) @definitions = read_definitions(dir) end |
Instance Attribute Details
#definitions ⇒ Object (readonly)
Returns the value of attribute definitions.
6 7 8 |
# File 'lib/swarker/readers/definitions_reader.rb', line 6 def definitions @definitions end |