class MotherBrain::ComponentNotVersioned
Attributes
component_name[R]
Public Class Methods
new(component_name)
click to toggle source
# File lib/mb/errors.rb, line 392 def initialize(component_name) @component_name = component_name end
Public Instance Methods
message()
click to toggle source
# File lib/mb/errors.rb, line 396 def message [ "Component '#{component_name}' is not versioned", "You can version components with:", " versioned # defaults to \"#{component_name}.version\"", " versioned_with \"custom.version.attribute\"" ].join "\n" end