class RackWebDAV::HTTPStatus::Status
Attributes
code[RW]
reason_phrase[RW]
to_i[RW]
Public Class Methods
status_line()
click to toggle source
# File lib/rack-webdav/http_status.rb, line 11 def status_line "#{code} #{reason_phrase}" end
Public Instance Methods
code()
click to toggle source
# File lib/rack-webdav/http_status.rb, line 17 def code self.class.code end
reason_phrase()
click to toggle source
# File lib/rack-webdav/http_status.rb, line 21 def reason_phrase self.class.reason_phrase end
status_line()
click to toggle source
# File lib/rack-webdav/http_status.rb, line 25 def status_line self.class.status_line end
to_i()
click to toggle source
# File lib/rack-webdav/http_status.rb, line 29 def to_i self.class.to_i end