You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
176 B
Ruby
16 lines
176 B
Ruby
11 years ago
|
class AsciicastSerializer
|
||
|
|
||
|
def initialize(asciicast)
|
||
|
@asciicast = asciicast
|
||
|
end
|
||
|
|
||
|
def as_json(*)
|
||
|
asciicast.as_json
|
||
|
end
|
||
|
|
||
|
private
|
||
|
|
||
|
attr_reader :asciicast
|
||
|
|
||
|
end
|