Sha256: 3dcf128487bf610676897aeaeb4a8cf97411d9f135e45e0c749b839b54e8c878

Contents?: true

Size: 545 Bytes

Versions: 22

Compression:

Stored size: 545 Bytes

Contents

module Inch
  module CLI
    module Command
      module Options
        class Inspect < BaseObject

          def descriptions
            [
              "",
              "Example: " + "$ inch inspect lib/**/*.rb Foo::Bar#initialize".cyan,
              "",
              "Shows one or more objects in detail."
            ]
          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

22 entries across 22 versions & 1 rubygems

Version Path
inch-0.1.1 lib/inch/cli/command/options/inspect.rb
inch-0.1.0 lib/inch/cli/command/options/inspect.rb