Skip to content

Commit

Permalink
remove unused map_all_args + update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
cldwalker committed Mar 19, 2012
1 parent 6bcdcb8 commit aa4af49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.rdoc
@@ -1,3 +1,6 @@
== 0.6.2
* Add * support to 1d/2d menus

== 0.6.1
* Fix for mongoid view
* Fix tests on rubinius + jruby
Expand Down
4 changes: 0 additions & 4 deletions lib/hirb/menu.rb
Expand Up @@ -144,10 +144,6 @@ def return_cell_values?
@options[:two_d]
end

def map_all_args(tokens)
tokens.map { |arr,f| yield(arr, f) }.flatten
end

def input_to_tokens(input)
@new_args = []
tokens = (@args = split_input_args(input)).map {|word| parse_word(word) }.compact
Expand Down

0 comments on commit aa4af49

Please sign in to comment.