Class: JSONClass

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

Constant Summary collapse

@@videoConfigClassName =
"className"
@@videoConfigProperties =
"properties"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeJSONClass

Returns a new instance of JSONClass.



32
33
34
# File 'lib/translateUtil.rb', line 32

def initialize
    @properties = []
end

Instance Attribute Details

#className(str) ⇒ Object (readonly)

Returns the value of attribute className.



29
30
31
# File 'lib/translateUtil.rb', line 29

def className
  @className
end

#properties(properties) ⇒ Object (readonly)

Returns the value of attribute properties.



29
30
31
# File 'lib/translateUtil.rb', line 29

def properties
  @properties
end