Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/guard/haskell.rb

Instance Method Summary collapse

Instance Method Details

#to_module_nameObject


6
7
8
# File 'lib/guard/haskell.rb', line 6

def to_module_name
  self.split('/').drop_while{|x| /^[[:lower:]]/.match(x)}.join('.')
end