class String
Public Instance Methods
to_module_name()
click to toggle source
# File lib/guard/haskell.rb, line 6 def to_module_name self.split('/').drop_while{|x| /^[[:lower:]]/.match(x)}.join('.') end
# File lib/guard/haskell.rb, line 6 def to_module_name self.split('/').drop_while{|x| /^[[:lower:]]/.match(x)}.join('.') end