class RubyTDMS::Objects::Group

Attributes

channels[R]

Public Class Methods

new(*args) click to toggle source
Calls superclass method RubyTDMS::Objects::Base::new
# File lib/ruby_tdms/objects/group.rb, line 9
def initialize(*args)
        super
        @channels = []
end

Public Instance Methods

as_json() click to toggle source
Calls superclass method RubyTDMS::Objects::Base#as_json
# File lib/ruby_tdms/objects/group.rb, line 15
def as_json
        super.merge({
                channel_count: @channels.length
        })
end