Module: Coco::Concerns::ActsAsLink
- Extended by:
- ActiveSupport::Concern
- Includes:
- AcceptsOptions
- Included in:
- Link
- Defined in:
- app/components/coco/concerns/acts_as_link.rb
Instance Method Summary collapse
Methods included from AcceptsOptions
#accepted_options, #get_option_group
Instance Method Details
#link_text ⇒ Object
14 15 16 |
# File 'app/components/coco/concerns/acts_as_link.rb', line 14 def link_text text || content end |