highline-color 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,11 +12,15 @@ module Highline
12
12
  end
13
13
 
14
14
  HighLine.color_scheme.keys.each do |schema|
15
- %w{ say agree ask }.each do |m|
16
- define_method "#{m}_#{schema}" do |msg|
15
+ define_method "say_#{schema}" do |msg|
16
+ say color(msg, schema)
17
+ end
18
+ define_method "agree_#{schema}" do |msg|
19
+ say color(msg, schema)
20
+ end
21
+ define_method "ask_#{schema}" do |msg|
17
22
  say color(msg, schema)
18
23
  end
19
- end
20
24
  end
21
25
  end
22
26
  end
@@ -1,5 +1,5 @@
1
1
  module Highline
2
2
  module Color
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highline-color
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: