Method: CollectionJSON::Attribute.root_node
- Defined in:
- lib/collection-json/attribute.rb
.root_node(value = nil) ⇒ Object
33 34 35 36 |
# File 'lib/collection-json/attribute.rb', line 33 def self.root_node(value = nil) @root_node = value.to_s if value @root_node end |