Class: NILTIME
Constant Summary collapse
- NILTIME_STRING =
"-"
Instance Method Summary collapse
- #day ⇒ Object
- #hour ⇒ Object
-
#initialize(*args) ⇒ NILTIME
constructor
A new instance of NILTIME.
- #min ⇒ Object
- #month ⇒ Object
- #sec ⇒ Object
- #strftime(*args) ⇒ Object
- #year ⇒ Object
Constructor Details
#initialize(*args) ⇒ NILTIME
Returns a new instance of NILTIME.
214 215 |
# File 'lib/custom_active_record/sjis_base.rb', line 214 def initialize(*args) end |
Instance Method Details
#day ⇒ Object
225 226 227 |
# File 'lib/custom_active_record/sjis_base.rb', line 225 def day return NILTIME_STRING * 2 end |
#hour ⇒ Object
229 230 231 |
# File 'lib/custom_active_record/sjis_base.rb', line 229 def hour return NILTIME_STRING * 2 end |
#min ⇒ Object
233 234 235 |
# File 'lib/custom_active_record/sjis_base.rb', line 233 def min return NILTIME_STRING * 2 end |
#month ⇒ Object
221 222 223 |
# File 'lib/custom_active_record/sjis_base.rb', line 221 def month return NILTIME_STRING * 2 end |
#sec ⇒ Object
237 238 239 |
# File 'lib/custom_active_record/sjis_base.rb', line 237 def sec return NILTIME_STRING * 2 end |
#strftime(*args) ⇒ Object
241 242 243 |
# File 'lib/custom_active_record/sjis_base.rb', line 241 def strftime(*args) nil end |
#year ⇒ Object
217 218 219 |
# File 'lib/custom_active_record/sjis_base.rb', line 217 def year return NILTIME_STRING * 4 end |