cutter 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/cutter/inspection.rb +1 -1
  2. metadata +2 -2
@@ -22,7 +22,7 @@ class Object
22
22
 
23
23
  def inspect! _binding = nil, &block
24
24
  return true if Cutter::Inspection.quiet?
25
- raise "Try binding as argument or wrap method content into block!" if (!block_given?&&!_binding)
25
+ raise "Try binding as argument or wrap used it with braces like: inspect! {}" if (!block_given?&&!_binding)
26
26
  _binding ||= block.binding
27
27
  puts "method: `#{caller_method_name}'"
28
28
  puts %{ variables:}
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cutter
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.1
5
+ version: 0.5.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - stanislaw
@@ -109,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - ">="
111
111
  - !ruby/object:Gem::Version
112
- hash: 1029971855
112
+ hash: 124566145
113
113
  segments:
114
114
  - 0
115
115
  version: "0"