Sha256: 7479b3b52a9e354034261411c335d01b4fd9f6f51b4461dbf1af8aa75beed745

Contents?: true

Size: 625 Bytes

Versions: 3

Compression:

Stored size: 625 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

3 entries across 3 versions & 1 rubygems

Version Path
inch-0.5.0.rc3 lib/inch/cli/command/options/show.rb
inch-0.5.0.rc2 lib/inch/cli/command/options/show.rb
inch-0.5.0.rc1 lib/inch/cli/command/options/show.rb