Skip to content
Browse files

handle methods and include config almost exchangable

  • Loading branch information...
1 parent 5b0f257 commit c2e45dbc14835044e87628adce6134c0a7739add @mkristian committed Feb 28, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ixtlan/babel/context.rb
View
4 lib/ixtlan/babel/context.rb
@@ -47,7 +47,7 @@ def allowed?( key )
end
def include?( key )
- @include.include? key
+ @include.include?( key ) || @methods.include?( key )
end
def array?
@@ -60,4 +60,4 @@ def []( key )
end
end
-end
+end

0 comments on commit c2e45db

Please sign in to comment.
Something went wrong with that request. Please try again.