Method: FrameNet::Frame::Relation#initialize
- Defined in:
- lib/frame_net/frame/relation.rb
#initialize {|_self| ... } ⇒ Relation
Create a new instance and yield it to the block if one is given.
32 33 34 35 36 37 |
# File 'lib/frame_net/frame/relation.rb', line 32 def initialize @type = nil @frame_ids = [] yield( self ) if block_given? end |