lib/dentaku/ast/access.rb in dentaku-3.0.0 vs lib/dentaku/ast/access.rb in dentaku-3.1.0
- old
+ new
@@ -11,16 +11,16 @@
def initialize(data_structure, index)
@structure = data_structure
@index = index
end
- def value(context={})
+ def value(context = {})
structure = @structure.value(context)
index = @index.value(context)
structure[index]
end
- def dependencies(context={})
+ def dependencies(context = {})
@structure.dependencies(context) + @index.dependencies(context)
end
end
end
end