Sha256: b55cc3bae0eea4e6ed24c1c5b7c4ac4c8fdc8003ff5369749791e2e3fac278bd

Contents?: true

Size: 247 Bytes

Versions: 10

Compression:

Stored size: 247 Bytes

Contents

# encoding: UTF-8

module Anvil
  # Basic precondition for the tasks. If this fails, the task stops
  class Assure
    class << self
      def from_name(assure_name)
        "#{assure_name}_assure".camelize.constantize
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
anvil-core-0.6.0 lib/anvil/assure.rb
anvil-core-0.5.0 lib/anvil/assure.rb
anvil-core-0.4.2 lib/anvil/assure.rb
anvil-core-0.4.1 lib/anvil/assure.rb
anvil-core-0.4.0 lib/anvil/assure.rb
anvil-core-0.3.2 lib/anvil/assure.rb
anvil-core-0.3.1 lib/anvil/assure.rb
anvil-core-0.3.0 lib/anvil/assure.rb
anvil-core-0.2.0 lib/anvil/assure.rb
anvil-core-0.1.0 lib/anvil/assure.rb