Method: Squib::TextEmbed#initialize
- Defined in:
- lib/squib/dsl/text_embed.rb
#initialize(deck, dsl_method) ⇒ TextEmbed
Returns a new instance of TextEmbed.
15 16 17 18 |
# File 'lib/squib/dsl/text_embed.rb', line 15 def initialize(deck, dsl_method) @deck = deck @rules = {} # store an array of options for later usage end |