class Puertos::WindData

Attributes

direction[R]
speed[R]
unit[R]

Public Class Methods

new(speed: nil, direction: nil, unit: 'm/s') click to toggle source
# File lib/wind_data.rb, line 5
def initialize(speed: nil, direction: nil, unit: 'm/s')
  @speed     = speed
  @direction = direction
  @unit      = unit
end