Sha256: 99759b0a8466bf6e8c6360bc88e42fe1cf21e405f55f4a1a78b247bf3d6f2e81
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 Bytes
Contents
# -*- encoding: utf-8 -*- module GitShizzle::Dsl class CommandDefinitionError < GitShizzle::Error def initialize(command_or_identifier, message) if command_or_identifier.respond_to? :identifier identifier = command_or_identifier.identifier else identifier = command_or_identifier end super "Command '#{identifier}': #{message}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
git_shizzle-0.2.8 | lib/git_shizzle/dsl/command_definition_error.rb |
git_shizzle-0.2.6 | lib/git_shizzle/dsl/command_definition_error.rb |