rabbitt-configurator 1.2.4 → 1.2.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.
@@ -48,6 +48,11 @@ module Configurator
48
48
  }
49
49
  end
50
50
 
51
+ def inspect
52
+ _type = type.is_a?(Array) ? "Collection::#{type.first.to_s.capitalize}" : type.to_s.capitalize
53
+ "<Option::#{_type} @name=#{name} @required=#{required.inspect} @default=#{default.inspect} @value=#{value.inspect}>"
54
+ end
55
+
51
56
  def compute_type(type)
52
57
  case type
53
58
  when UNDEFINED_OPTION then :any
@@ -68,6 +68,10 @@ module Configurator
68
68
  }
69
69
  end
70
70
 
71
+ def inspect
72
+ "<Section @name=#{name} @parent=#{parent.nil? ? 'nil' : parent.path_name} @options=#{@table.values.inspect}>"
73
+ end
74
+
71
75
  def config() self; end
72
76
  alias :value :config
73
77
 
@@ -17,5 +17,5 @@ with this program; if not, write to the Free Software Foundation, Inc.,
17
17
  =end
18
18
 
19
19
  module Configurator
20
- VERSION = "1.2.4"
20
+ VERSION = "1.2.5"
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbitt-configurator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: