Method: Eggshell::Bundles::Basic::ListBlocks#equal?

Defined in:
lib/eggshell/bundles/basics.rb

#equal?(handler, type) ⇒ Boolean

Returns:

  • (Boolean)


436
437
438
# File 'lib/eggshell/bundles/basics.rb', line 436

def equal?(handler, type)
  self.class == handler.class && (type == 'ol' || type == 'ul')
end