Class: Lookbook::SourceTag

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

Instance Method Summary collapse

Methods inherited from YardTag

#initialize, #options, supports_options, supports_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/source_tag.rb', line 3

def value
  resolve_path(text.strip) if text.present?
end