Top Level Namespace

Defined Under Namespace

Modules: MessageTranslator Classes: BluetoothCommunication, DirectCommand, DirectCommandReply, GetBatteryLevel, GetBatteryLevelReply, GetCurrentProgramName, GetCurrentProgramNameReply, GetDeviceInfo, GetDeviceInfoReply, NXT, NXTAsync, NoMessageReply, OutputModeFlags, OutputState, PlaySoundFile, PlaySoundFileReply, PlayTone, PlayToneReply, RegulationMode, Reply, ResetMotorPosition, ResetMotorPositionReply, RespondableTelegram, RunState, SerialPortConnectionError, SerialPortProfile, SetInputMode, SetInputModeReply, SetOutputState, SetOutputStateReply, StartProgram, StartProgramReply, StopProgram, StopProgramReply, StopSoundPlayback, StopSoundPlaybackReply, SystemCommand, Telegram

Instance Method Summary collapse

Instance Method Details

#should_exclude_file(filename, current_directory) ⇒ Object



1
2
3
4
# File 'lib/nxt.rb', line 1

def should_exclude_file(filename, current_directory)
  filename == File.join(current_directory, __FILE__) ||
  filename == File.join(current_directory, 'telegrams', 'commands', 'direct', 'output_state.rb')
end