Class: Hypostasis::Namespace

Inherits:
Object
  • Object
show all
Defined in:
lib/hypostasis/namespace.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, data_model) ⇒ Namespace

Returns a new instance of Namespace.



4
5
6
7
8
9
# File 'lib/hypostasis/namespace.rb', line 4

def initialize(name, data_model)
  @name = name.to_s
  @data_model = data_model.to_sym

  #self.setup
end

Instance Attribute Details

#data_modelObject (readonly)

Returns the value of attribute data_model.



2
3
4
# File 'lib/hypostasis/namespace.rb', line 2

def data_model
  @data_model
end

#nameObject (readonly)

Returns the value of attribute name.



2
3
4
# File 'lib/hypostasis/namespace.rb', line 2

def name
  @name
end