lib/musterb/evaluator.rb in musterb-0.0.4 vs lib/musterb/evaluator.rb in musterb-0.0.5
- old
+ new
@@ -3,9 +3,13 @@
def initialize(context)
@context = context
end
+ def current
+ @context.value
+ end
+
def block_if(value)
return if is_falsy? value
case value
when Hash
\ No newline at end of file