lib/marvin/util.rb in Sutto-marvin-0.1.0.20081016 vs lib/marvin/util.rb in Sutto-marvin-0.1.20081115
- old
+ new
@@ -1,8 +1,7 @@
module Marvin
- class Util
- class << self
+ module Util
# Return the channel-name version of a string by
# appending "#" to the front if it doesn't already
# start with it.
def channel_name(name)
@@ -23,8 +22,9 @@
def last_param(section)
section && ":#{section.to_s.strip} "
end
alias lp last_param
- end
+ extend self
+
end
end
\ No newline at end of file