Class: StyleHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/yesroff/text.rb

Instance Method Summary collapse

Instance Method Details

#add_style(s) ⇒ Object



72
73
74
# File 'lib/yesroff/text.rb', line 72

def add_style(s)
  self[s.name] = s
end