Module: Bookmarker::Extenders::BookmarkMaker

Defined in:
lib/bookmarker/extenders/bookmark_maker.rb

Instance Method Summary collapse

Instance Method Details

#bookmark_maker?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/bookmarker/extenders/bookmark_maker.rb', line 5

def bookmark_maker?
  false
end

#is_bookmark_maker(*args) ⇒ Object



9
10
11
12
13
14
15
16
17
18
# File 'lib/bookmarker/extenders/bookmark_maker.rb', line 9

def is_bookmark_maker(*args)
  require 'bookmarker/bookmark_maker'
  include Bookmarker::BookmarkMaker

  class_eval do
    def self.bookmark_maker?
      true
    end
  end
end