lib/pupil/essentials.rb in pupil-0.2.2 vs lib/pupil/essentials.rb in pupil-0.3.0

- old
+ new

@@ -1,4 +1,10 @@ +class Hash + def method_missing(action, *args) + return self[action.to_s] rescue raise NoMethodError + end +end + class Pupil module Essentials # @param [Hash] parameter # @return [String] URL Serialized parameters def serialize_parameter parameter \ No newline at end of file