module PowerStencil::SystemEntityDefinitions::Buildable
Public Instance Methods
buildable()
click to toggle source
# File lib/power_stencil/system_entity_definitions/buildable.rb, line 6 def buildable buildable_by '' end
buildable?()
click to toggle source
# File lib/power_stencil/system_entity_definitions/buildable.rb, line 16 def buildable? not @build_plugin_name.nil? end
buildable_by(plugin_name = nil)
click to toggle source
# File lib/power_stencil/system_entity_definitions/buildable.rb, line 10 def buildable_by(plugin_name = nil) return @build_plugin_name if plugin_name.nil? @build_plugin_name = plugin_name self.include PowerStencil::SystemEntityDefinitions::EntityTemplates end