self.y = 0
self.width = 100
self.height = 100
+ self.fore_color = 0
end
def symbol_option
def outer_style
{
- 'top' => self.y, 'left' => self.x,
- 'width' => self.width, 'height' => self.height
+ 'top' => self.y.to_s + '%', 'left' => self.x.to_s + '%',
+ 'width' => self.width.to_s + '%', 'height' => self.height.to_s + '%'
}
end
@@text_align_texts[self.text_align]
end
- def self.public_list_where
+ def self.public_list_where list
'panels.publish > 0'
end
{:include => {:speech_balloon => {:panel => {:author => {}}, :balloon => {}, :speech_balloon_template => {} }}}
end
- def self.panelize speech_attributes
- {'speech_attributes' => speech_attributes}
- end
-
def scenario
self.boosts 'read'
self.render
end
def plain_scenario
- self.content + "\n"
+ self.content.to_s + "\n"
end
def feed