class NicoQuery::ObjectMapper::Description
Attributes
community_references[R]
movie_references[R]
raw_text[R]
seiga_references[R]
Public Class Methods
new(raw_text)
click to toggle source
# File lib/nicoquery/object_mapper/description.rb, line 7 def initialize(raw_text) @raw_text = raw_text.to_s end
Public Instance Methods
mylist_references()
click to toggle source
# File lib/nicoquery/object_mapper/description.rb, line 20 def mylist_references text.scan(/(?<=mylist\/)\d{1,}/).map(&:to_i) end
text()
click to toggle source
# File lib/nicoquery/object_mapper/description.rb, line 11 def text @raw_text end