Sha256: 83fcc9f34b181e06c38b50d8a36ec8832718e591aea37f9cdb038ef17ccd3457

Contents?: true

Size: 568 Bytes

Versions: 34

Compression:

Stored size: 568 Bytes

Contents

module Inch
  module CLI
    module Command
      module Options
        class Inspect < BaseObject
          def descriptions
            [
              '',
              'Example: ' +
                '$ inch inspect lib/**/*.rb Foo::Bar#initialize'.color(: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

34 entries across 34 versions & 1 rubygems

Version Path
inch-0.9.0.rc1 lib/inch/cli/command/options/inspect.rb
inch-0.8.0 lib/inch/cli/command/options/inspect.rb
inch-0.8.0.rc2 lib/inch/cli/command/options/inspect.rb
inch-0.8.0.rc1 lib/inch/cli/command/options/inspect.rb
inch-0.7.1 lib/inch/cli/command/options/inspect.rb
inch-0.7.0 lib/inch/cli/command/options/inspect.rb
inch-0.6.4 lib/inch/cli/command/options/inspect.rb
inch-0.6.3 lib/inch/cli/command/options/inspect.rb
inch-0.6.2 lib/inch/cli/command/options/inspect.rb
inch-0.6.1 lib/inch/cli/command/options/inspect.rb
inch-0.6.0 lib/inch/cli/command/options/inspect.rb
inch-0.6.0.rc6 lib/inch/cli/command/options/inspect.rb
inch-0.6.0.rc5 lib/inch/cli/command/options/inspect.rb
inch-0.6.0.rc4 lib/inch/cli/command/options/inspect.rb
inch-0.6.0.rc3 lib/inch/cli/command/options/inspect.rb
inch-0.6.0.rc2 lib/inch/cli/command/options/inspect.rb
inch-0.6.0.rc1 lib/inch/cli/command/options/inspect.rb
inch-0.5.10 lib/inch/cli/command/options/inspect.rb
inch-0.5.9 lib/inch/cli/command/options/inspect.rb
inch-0.5.8 lib/inch/cli/command/options/inspect.rb