lib/blueprints/context.rb in blueprints-0.5.1 vs lib/blueprints/context.rb in blueprints-0.6.0

- old
+ new

@@ -1,8 +1,8 @@ module Blueprints # Class that blueprint blocks are evaluated against. Allows you to access options that were passed to build method. class Context - attr_accessor :options + attr_accessor :options, :attributes def build(*names) Namespace.root.build(*names) end end