class DotMe::Status
Statuses for managed dotfiles.
Constants
- STATUSES
Attributes
status[R]
Public Class Methods
[](status)
click to toggle source
# File Rakefile.rb, line 69 def [](status) status.is_a?(Status) ? status : STATUSES[status] end
new(status)
click to toggle source
# File Rakefile.rb, line 77 def initialize(status) @status = status end
Public Instance Methods
===(other)
click to toggle source
# File Rakefile.rb, line 85 def ===(other) other === status end
to_s()
click to toggle source
# File Rakefile.rb, line 81 def to_s status.to_s.tr('_', ' ') end