Class: PureGreeks::Greeks
- Inherits:
-
Data
- Object
- Data
- PureGreeks::Greeks
- Defined in:
- lib/pure_greeks/greeks.rb
Instance Attribute Summary collapse
-
#delta ⇒ Object
readonly
Returns the value of attribute delta.
-
#gamma ⇒ Object
readonly
Returns the value of attribute gamma.
-
#model ⇒ Object
readonly
Returns the value of attribute model.
-
#price ⇒ Object
readonly
Returns the value of attribute price.
-
#rho ⇒ Object
readonly
Returns the value of attribute rho.
-
#theta ⇒ Object
readonly
Returns the value of attribute theta.
-
#vega ⇒ Object
readonly
Returns the value of attribute vega.
Instance Attribute Details
#delta ⇒ Object (readonly)
Returns the value of attribute delta
4 5 6 |
# File 'lib/pure_greeks/greeks.rb', line 4 def delta @delta end |
#gamma ⇒ Object (readonly)
Returns the value of attribute gamma
4 5 6 |
# File 'lib/pure_greeks/greeks.rb', line 4 def gamma @gamma end |
#model ⇒ Object (readonly)
Returns the value of attribute model
4 5 6 |
# File 'lib/pure_greeks/greeks.rb', line 4 def model @model end |
#price ⇒ Object (readonly)
Returns the value of attribute price
4 5 6 |
# File 'lib/pure_greeks/greeks.rb', line 4 def price @price end |
#rho ⇒ Object (readonly)
Returns the value of attribute rho
4 5 6 |
# File 'lib/pure_greeks/greeks.rb', line 4 def rho @rho end |
#theta ⇒ Object (readonly)
Returns the value of attribute theta
4 5 6 |
# File 'lib/pure_greeks/greeks.rb', line 4 def theta @theta end |
#vega ⇒ Object (readonly)
Returns the value of attribute vega
4 5 6 |
# File 'lib/pure_greeks/greeks.rb', line 4 def vega @vega end |