Class: Brujula::Raml::V1_0::Root
- Defined in:
- lib/brujula/raml/v1_0/root.rb
Instance Attribute Summary collapse
-
#base_dir ⇒ Object
readonly
Returns the value of attribute base_dir.
Attributes inherited from Object
Instance Method Summary collapse
-
#initialize(data:, name:, base_dir:) ⇒ Root
constructor
A new instance of Root.
Methods inherited from Object
Constructor Details
#initialize(data:, name:, base_dir:) ⇒ Root
Returns a new instance of Root.
23 24 25 26 |
# File 'lib/brujula/raml/v1_0/root.rb', line 23 def initialize(data:, name:, base_dir:) @base_dir = base_dir super(data: data, name: name) end |
Instance Attribute Details
#base_dir ⇒ Object (readonly)
Returns the value of attribute base_dir.
21 22 23 |
# File 'lib/brujula/raml/v1_0/root.rb', line 21 def base_dir @base_dir end |