james 0.2.0-universal-darwin-10 → 0.3.0-universal-darwin-10

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/james/dialog_api.rb +2 -2
  2. metadata +1 -1
@@ -4,7 +4,7 @@ module James
4
4
  #
5
5
  # The simple way will directly add itself to James.
6
6
  #
7
- # James.use_dialog(optional_args_for_initialize) do
7
+ # James.dialog(optional_args_for_initialize) do
8
8
  # # Your dialog.
9
9
  # #
10
10
  # end
@@ -26,7 +26,7 @@ module James
26
26
 
27
27
  class << self
28
28
 
29
- def use_dialog *args, &block
29
+ def dialog *args, &block
30
30
  dialog = Class.new { include James::Dialog }
31
31
  dialog.class_eval &block
32
32
  use dialog.new(*args)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: james
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.3.0
6
6
  platform: universal-darwin-10
7
7
  authors:
8
8
  - Florian Hanke