Method: ActionText::Attachment#initialize
- Defined in:
- actiontext/lib/action_text/attachment.rb
#initialize(node, attachable) ⇒ Attachment
Returns a new instance of Attachment.
68 69 70 71 |
# File 'actiontext/lib/action_text/attachment.rb', line 68 def initialize(node, attachable) @node = node @attachable = attachable end |