You could just do

     @fs_name = opts[: fs_name] || DEFAULT_FS_NAME
     @ chunk_size = opts[: chunk_size] || DEFAULT_CHUNK_SIZE