Module: OmniAuth::Mastodon::Version
- Defined in:
- lib/omniauth/mastodon/version.rb
Class Method Summary collapse
Class Method Details
.major ⇒ Object
6 7 8 |
# File 'lib/omniauth/mastodon/version.rb', line 6 def major 0 end |
.minor ⇒ Object
10 11 12 |
# File 'lib/omniauth/mastodon/version.rb', line 10 def minor 9 end |
.patch ⇒ Object
14 15 16 |
# File 'lib/omniauth/mastodon/version.rb', line 14 def patch 15 end |
.pre ⇒ Object
18 19 20 |
# File 'lib/omniauth/mastodon/version.rb', line 18 def pre nil end |
.to_a ⇒ Object
22 23 24 |
# File 'lib/omniauth/mastodon/version.rb', line 22 def to_a [major, minor, patch, pre].compact end |
.to_s ⇒ Object
26 27 28 |
# File 'lib/omniauth/mastodon/version.rb', line 26 def to_s to_a.join('.') end |