Skip to content

Commit

Permalink
make Builder.create_cell public.
Browse files Browse the repository at this point in the history
  • Loading branch information
apotonick committed Dec 21, 2011
1 parent d10a28b commit 3f2406c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cell/builder.rb
Expand Up @@ -47,12 +47,12 @@ def class_from_cell_name(cell_name)
"#{cell_name}_cell".classify.constantize
end

private
# Override this if you want to receive arguments right in the cell constructor.
def create_cell(*args)
new
end

private
def build_class_for(*args)
builders.each do |blk|
klass = run_builder_block(blk, *args) and return klass
Expand Down

0 comments on commit 3f2406c

Please sign in to comment.