Class: Crystal::InterpolatesTags

Inherits:
Struct
  • Object
show all
Defined in:
lib/crystal/interpolates_tags.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#tagsObject

Returns the value of attribute tags

Returns:

  • (Object)

    the current value of tags



2
3
4
# File 'lib/crystal/interpolates_tags.rb', line 2

def tags
  @tags
end

Instance Method Details

#interpolate!Object



3
4
5
# File 'lib/crystal/interpolates_tags.rb', line 3

def interpolate!
  tags.each{|tag| interpolate_tag!(tag)}
end