Class: ActionBlocks::BlockType

Inherits:
BaseBuilder show all
Defined in:
lib/action_blocks/builders/block_type.rb

Instance Attribute Summary

Attributes inherited from BaseBuilder

#dsl_delegate, #id

Instance Method Summary collapse

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, #key, references, sets, sets_many, #ui_reference, #valid?

Constructor Details

This class inherits a constructor from ActionBlocks::BaseBuilder

Instance Method Details

#is_block?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/action_blocks/builders/block_type.rb', line 3

def is_block?
  true
end

#typeObject



7
8
9
# File 'lib/action_blocks/builders/block_type.rb', line 7

def type
  raise "#{self.class} should specify its block_type."
end