Permalink
Browse files

namespaces are even harder with classes

  • Loading branch information...
1 parent 577c317 commit 790b1182804cd19fa718c58caf7348da1cdbb4a0 @chastell committed May 12, 2012
Showing with 3 additions and 6 deletions.
  1. +0 −3 lib/wiresnark.rb
  2. +3 −3 lib/wiresnark/net_fpga.rb
View
@@ -3,9 +3,6 @@
require 'pcaprub'
module Wiresnark
- class NetFPGA
- end
-
TypeBytes = {
'NIL' => 0,
'DSS' => 1,
@@ -1,7 +1,7 @@
-require_relative 'net_fpga/bridge'
-require_relative 'net_fpga/port'
-
module Wiresnark class NetFPGA
+ require_relative 'net_fpga/bridge'
+ require_relative 'net_fpga/port'
+
attr_reader :registers
def initialize regbridge = NetFPGA::Bridge.new

0 comments on commit 790b118

Please sign in to comment.