Method: RunLoop::Version#<=

Defined in:
lib/run_loop/version.rb

#<=(other) ⇒ Boolean

Is this version less-than or equal to another version?

Parameters:

  • other (Version)

    the version to compare against

Returns:

  • (Boolean)

    true if this Version is less-than or equal ‘other`



139
140
141
# File 'lib/run_loop/version.rb', line 139

def <= (other)
  Version.compare(self, other) <= 0
end