Permalink
Browse files

version 0.6.3, added method_source 0.3.4 dependency (1.8 show-metthod…

… support). Added docs, added Set to inspect classes
  • Loading branch information...
banister committed Feb 27, 2011
1 parent 51c699a commit 52a84cd59865c4052a4f32542d31704e5f19378d
Showing with 13 additions and 3 deletions.
  1. +4 −0 CHANGELOG
  2. +1 −1 Rakefile
  3. +4 −0 lib/pry/command_base.rb
  4. +3 −1 lib/pry/pry_class.rb
  5. +1 −1 lib/pry/version.rb
View
@@ -1,3 +1,7 @@
+28/2/2011 version 0.6.3
+* Using MethodSource 0.3.4 so 1.8 show-method support provided
+* `Set` class added to list of classes that are inspected
+
26/2/2011 version 0.6.1
* !@ command alias for exit_all
* `cd /` for breaking out to pry top level (jump-to 0)
View
@@ -20,7 +20,7 @@ def apply_spec_defaults(s)
s.description = s.summary
s.require_path = 'lib'
s.add_dependency("ruby_parser",">=2.0.5")
- s.add_dependency("method_source",">=0.2.0")
+ s.add_dependency("method_source",">=0.3.4")
s.add_development_dependency("bacon",">=1.1.0")
s.homepage = "http://banisterfiend.wordpress.com"
s.has_rdoc = 'yard'
View
@@ -16,6 +16,10 @@ class << self
# @param [String, Array] names The name of the command (or array of
# command name aliases).
# @param [String] description A description of the command.
+ # @param [Hash] options The optional configuration parameters.
+ # @option options [Boolean] :keep_retval Whether or not to use return value
+ # of the block for return of `command` or just to return `nil`
+ # (the default).
# @yield The action to perform. The parameters in the block
# determines the parameters the command will receive. All
# parameters passed into the block will be strings. Successive
View
@@ -66,6 +66,8 @@ class << self
# prompts by default by all Pry instances.
attr_accessor :prompt
+ # Value returned by last executed Pry command.
+ # @return [Object] The command value
attr_accessor :cmd_ret_value
end
@@ -85,7 +87,7 @@ def self.start(target=TOPLEVEL_BINDING, options={})
# @return [String] The string representation of `obj`.
def self.view(obj)
case obj
- when String, Hash, Array, Symbol, nil
+ when String, Hash, Array, Symbol, Set, nil
obj.inspect
else
obj.to_s
View
@@ -1,3 +1,3 @@
class Pry
- VERSION = "0.6.2"
+ VERSION = "0.6.3"
end

0 comments on commit 52a84cd

Please sign in to comment.