Sha256: 104ab60f4438bcfa6a2218397564f51b4374b910aa94c73a7cbf85ae019a2486

Contents?: true

Size: 118 Bytes

Versions: 5

Compression:

Stored size: 118 Bytes

Contents

class Time
  def to_json(*a)
    "new Date(#{year}, #{month}, #{day}, #{hour}, #{min}, #{sec})".to_json(*a)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yodel-0.0.7 lib/yodel/types/time.rb
yodel-0.0.4 lib/yodel/types/time.rb
yodel-0.0.3 lib/yodel/types/time.rb
yodel-0.0.2 lib/yodel/types/time.rb
yodel-0.0.1 lib/yodel/types/time.rb