Skip to content

Commit

Permalink
Remove freeze leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
brainopia committed Feb 27, 2013
1 parent 6642054 commit db6e6dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions src/hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,6 @@ mrb_hash_set(mrb_state *mrb, mrb_value hash, mrb_value key, mrb_value val) /* mr
return;
}

mrb_value
mrb_hash_freeze(mrb_value hash)
{
return (hash);
}

mrb_value
mrb_hash_dup(mrb_state *mrb, mrb_value hash)
{
Expand Down
2 changes: 1 addition & 1 deletion src/kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ mrb_obj_methods(mrb_state *mrb, int argc, mrb_value *argv, mrb_value obj, mrb_me
* end
* end
* k = Klass.new
* k.methods[0..9] #=> [:kMethod, :freeze, :nil?, :is_a?,
* k.methods[0..9] #=> [:kMethod, :respond_to?, :nil?, :is_a?,
* # :class, :instance_variable_set,
* # :methods, :extend, :__send__, :instance_eval]
* k.methods.length #=> 42
Expand Down

0 comments on commit db6e6dc

Please sign in to comment.