Sha256: b26bb639792f135f2daa507fe2c584d44c8216d76f766fdb2ae5741025ca720b

Contents?: true

Size: 640 Bytes

Versions: 34

Compression:

Stored size: 640 Bytes

Contents

module Inch
  module CLI
    module Command
      module Options
        class Show < BaseObject
          def descriptions
            [
              '',
              'Example: ' +
                '$ inch show lib/**/*.rb Foo::Bar#initialize'.color(:cyan),
              '',
              'Shows one or more objects in detail.',
              description_hint_grades,
              description_hint_arrows
            ]
          end

          def verify
            if object_names.empty?
              kill # "Provide a name to an object to show it's evaluation."
            end
          end
        end
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
inch-0.5.7 lib/inch/cli/command/options/show.rb
inch-0.5.6 lib/inch/cli/command/options/show.rb
inch-0.5.5 lib/inch/cli/command/options/show.rb
inch-0.5.4 lib/inch/cli/command/options/show.rb
inch-0.5.3 lib/inch/cli/command/options/show.rb
inch-0.5.2 lib/inch/cli/command/options/show.rb
inch-0.5.1 lib/inch/cli/command/options/show.rb
inch-0.5.0 lib/inch/cli/command/options/show.rb
inch-0.5.0.rc11 lib/inch/cli/command/options/show.rb
inch-0.5.0.rc10 lib/inch/cli/command/options/show.rb
inch-0.5.0.rc9 lib/inch/cli/command/options/show.rb
inch-0.5.0.rc8 lib/inch/cli/command/options/show.rb
inch-0.5.0.rc7 lib/inch/cli/command/options/show.rb
inch-0.5.0.rc6 lib/inch/cli/command/options/show.rb