Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/turbine-core/ext.rb

Instance Method Summary collapse

Instance Method Details

#htmlObject



26
27
28
# File 'lib/turbine-core/ext.rb', line 26

def html
  (self.to_s + '_html').to_sym
end

#make_attrObject



30
31
32
# File 'lib/turbine-core/ext.rb', line 30

def make_attr
  self.to_s.downcase.to_sym
end