Class: Journeybook::ComponentParser::ParsedComponent
- Inherits:
-
Data
- Object
- Data
- Journeybook::ComponentParser::ParsedComponent
- Defined in:
- app/services/journeybook/component_parser.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#props ⇒ Object
readonly
Returns the value of attribute props.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
5 6 7 |
# File 'app/services/journeybook/component_parser.rb', line 5 def name @name end |
#props ⇒ Object (readonly)
Returns the value of attribute props
5 6 7 |
# File 'app/services/journeybook/component_parser.rb', line 5 def props @props end |
#source ⇒ Object (readonly)
Returns the value of attribute source
5 6 7 |
# File 'app/services/journeybook/component_parser.rb', line 5 def source @source end |
#token ⇒ Object (readonly)
Returns the value of attribute token
5 6 7 |
# File 'app/services/journeybook/component_parser.rb', line 5 def token @token end |
Instance Method Details
#hidden? ⇒ Boolean
6 7 8 |
# File 'app/services/journeybook/component_parser.rb', line 6 def hidden? props[ComponentParser::HIDDEN_PROP] == "true" end |