Class: ActionBlocks::LayoutBuilder
- Inherits:
-
BlockType
- Object
- BaseBuilder
- BlockType
- ActionBlocks::LayoutBuilder
- Defined in:
- lib/action_blocks/builders/layout_builder.rb
Instance Attribute Summary
Attributes inherited from BaseBuilder
Instance Method Summary collapse
Methods inherited from BlockType
Methods inherited from BaseBuilder
#after_build, #after_load, array_fields, #before_build, block_type, builds, builds_many, delegate_class, #evaluate, #freeze, includes_scheme_helpers, #initialize, #is_block?, #key, references, sets, sets_many, #ui_reference, #valid?
Constructor Details
This class inherits a constructor from ActionBlocks::BaseBuilder
Instance Method Details
#hashify(user) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/action_blocks/builders/layout_builder.rb', line 7 def hashify(user) { key: key, title: @title, workspace_keys: @workspaces.map(&:key), } end |