Class: Viddlereo::Param

Inherits:
Object
  • Object
show all
Defined in:
lib/viddlereo/param.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, data_type) ⇒ Param

Returns a new instance of Param.



6
7
8
9
# File 'lib/viddlereo/param.rb', line 6

def initialize(name, data_type)
  @name      = name
  @data_type = data_type
end

Instance Attribute Details

#data_typeObject (readonly)

Returns the value of attribute data_type.



4
5
6
# File 'lib/viddlereo/param.rb', line 4

def data_type
  @data_type
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/viddlereo/param.rb', line 3

def name
  @name
end