Class: PDD::Puzzle

Inherits:
Object
  • Object
show all
Defined in:
lib/pdd/puzzle.rb

Overview

Puzzle.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(props) ⇒ Puzzle

Ctor.

props

Properties



9
10
11
# File 'lib/pdd/puzzle.rb', line 9

def initialize(props)
  @props = props
end

Instance Attribute Details

#propsObject (readonly)

Returns the value of attribute props.



12
13
14
# File 'lib/pdd/puzzle.rb', line 12

def props
  @props
end