Sha256: dde4cce4a8e6c2153e9af56c52d110f50c1d1c607d8568bea90af989c0507dee

Contents?: true

Size: 441 Bytes

Versions: 29

Compression:

Stored size: 441 Bytes

Contents

module PowerStencil
  module SystemEntityDefinitions

    module Buildable

      def buildable
        buildable_by ''
      end

      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

      def buildable?
        not @build_plugin_name.nil?
      end

    end

  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
power_stencil-0.8.3 lib/power_stencil/system_entity_definitions/buildable.rb
power_stencil-0.8.2 lib/power_stencil/system_entity_definitions/buildable.rb
power_stencil-0.8.1 lib/power_stencil/system_entity_definitions/buildable.rb
power_stencil-0.8.0 lib/power_stencil/system_entity_definitions/buildable.rb
power_stencil-0.7.4 lib/power_stencil/system_entity_definitions/buildable.rb
power_stencil-0.7.3 lib/power_stencil/system_entity_definitions/buildable.rb
power_stencil-0.7.2 lib/power_stencil/system_entity_definitions/buildable.rb
power_stencil-0.7.1 lib/power_stencil/system_entity_definitions/buildable.rb
power_stencil-0.7.0 lib/power_stencil/system_entity_definitions/buildable.rb