Simplify Options#inspect
This commit is contained in:
parent
a8f5527f74
commit
d596303199
@ -106,7 +106,7 @@ class Options
|
||||
alias_method :to_ary, :to_a
|
||||
|
||||
def inspect
|
||||
"#<#{self.class}: #{@options.map(&:inspect).join(", ")}>"
|
||||
"#<#{self.class}: #{to_a.inspect}>"
|
||||
end
|
||||
|
||||
def self.coerce(arg)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user