Fix warning under Ruby 2.2
This commit is contained in:
parent
e3f082c294
commit
14aa1de33c
@ -16,6 +16,7 @@ class Option
|
||||
alias_method :to_str, :to_s
|
||||
|
||||
def <=>(other)
|
||||
return unless Option === other
|
||||
name <=> other.name
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user