Class: Alexandria::SmartLibrary::Rule::LeftOperand

Inherits:
Operand
  • Object
show all
Defined in:
lib/alexandria/smart_library.rb

Instance Attribute Summary collapse

Attributes inherited from Operand

#klass, #name

Instance Method Summary collapse

Methods inherited from Operand

#<=>

Constructor Details

#initialize(book_selector, *args) ⇒ LeftOperand

Returns a new instance of LeftOperand.



276
277
278
279
# File 'lib/alexandria/smart_library.rb', line 276

def initialize(book_selector, *args)
  super(*args)
  @book_selector = book_selector
end

Instance Attribute Details

#book_selectorObject

Returns the value of attribute book_selector.



274
275
276
# File 'lib/alexandria/smart_library.rb', line 274

def book_selector
  @book_selector
end