Class: Journeybook::ComponentParser::ParsedComponent

Inherits:
Data
  • Object
show all
Defined in:
app/services/journeybook/component_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'app/services/journeybook/component_parser.rb', line 5

def name
  @name
end

#propsObject (readonly)

Returns the value of attribute props

Returns:

  • (Object)

    the current value of props



5
6
7
# File 'app/services/journeybook/component_parser.rb', line 5

def props
  @props
end

#sourceObject (readonly)

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



5
6
7
# File 'app/services/journeybook/component_parser.rb', line 5

def source
  @source
end

#tokenObject (readonly)

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



5
6
7
# File 'app/services/journeybook/component_parser.rb', line 5

def token
  @token
end

Instance Method Details

#hidden?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'app/services/journeybook/component_parser.rb', line 6

def hidden?
  props[ComponentParser::HIDDEN_PROP] == "true"
end