Class: Brujula::Raml::V1_0::Root

Inherits:
Object
  • Object
show all
Defined in:
lib/brujula/raml/v1_0/root.rb

Instance Attribute Summary collapse

Attributes inherited from Object

#name

Instance Method Summary collapse

Methods inherited from Object

#expand, #root

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_dirObject (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