Class: RailsApiDoc::Controller::Response::Node
- Inherits:
-
Struct
- Object
- Struct
- RailsApiDoc::Controller::Response::Node
- Defined in:
- lib/rails_api_doc/controller/response/rabl_compiler.rb
Instance Attribute Summary collapse
-
#attr ⇒ Object
Returns the value of attribute attr.
-
#name ⇒ Object
Returns the value of attribute name.
-
#nested ⇒ Object
Returns the value of attribute nested.
Instance Method Summary collapse
Instance Attribute Details
#attr ⇒ Object
Returns the value of attribute attr
7 8 9 |
# File 'lib/rails_api_doc/controller/response/rabl_compiler.rb', line 7 def attr @attr end |
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'lib/rails_api_doc/controller/response/rabl_compiler.rb', line 7 def name @name end |
#nested ⇒ Object
Returns the value of attribute nested
7 8 9 |
# File 'lib/rails_api_doc/controller/response/rabl_compiler.rb', line 7 def nested @nested end |
Instance Method Details
#nested? ⇒ Boolean
9 10 11 |
# File 'lib/rails_api_doc/controller/response/rabl_compiler.rb', line 9 def nested? !nested.nil? end |