Class: Deface::Sources::Source

Inherits:
Object
  • Object
show all
Defined in:
lib/deface/sources/source.rb

Direct Known Subclasses

Copy, Cut, Erb, Haml, Partial, Slim, Template, Text

Class Method Summary collapse

Class Method Details

.to_symObject



5
6
7
# File 'lib/deface/sources/source.rb', line 5

def to_sym
  self.to_s.demodulize.underscore.to_sym
end