Class: Lookbook::ComponentTag

Inherits:
YardTag
  • Object
show all
Defined in:
lib/lookbook/tags/component_tag.rb

Instance Method Summary collapse

Methods inherited from YardTag

#initialize, #options, #text, #to_s

Constructor Details

This class inherits a constructor from Lookbook::YardTag

Instance Method Details

#valueObject



3
4
5
# File 'lib/lookbook/tags/component_tag.rb', line 3

def value
  text.constantize if text.present?
end